<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2019-12-24
 * Time: 17:13
 */

namespace app\api\validate\user;


use LinCmsTp5\validate\BaseValidate;

class CheckStatus extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger',
        'status' => 'require|boolean'
    ];

    protected $message = [
        'status' => '请选择正确的状态',
        'id' => 'id必须为正整数'
    ];


}